home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 2 / Atari Mega Archive CD - Volume 2.iso / minix / up1510b.tgz / up1510b / doc / ps2sheet.doc < prev    next >
Text File  |  1990-07-19  |  5KB  |  108 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.         INSTALLATION INSTRUCTIONS FOR MINIX ON THE PS/2
  7.  
  8.  
  9. MINIX is a new operating system for the IBM PC, XT, AT, and PS/2 computers,
  10. as well as for the Atari ST and Mega ST.  The system is described in detail
  11. in the following book:
  12.  
  13.     Title: Operating Systems: Design and Implementation
  14.     Author: Andrew S. Tanenbaum
  15.     Publisher: Prentice-Hall
  16.     Date: 1987
  17.     ISBN: 0-13-637406-9
  18.  
  19. Instructions for using MINIX are included in that book, especially in the
  20. Appendices.  This sheet is only intended to show you how to boot MINIX on
  21. a PS/2 computer.  For information about how to use it after booting,  see
  22. the book.  In addition, consult the file  USER_GUIDE in the doc directory
  23. in this distribution.
  24.  
  25. As an alternative to the book, there is a paperback MINIX Reference Manual
  26. also available from Prentice-Hall (ISBN 0-13-584400-2).
  27.  
  28.  1. To boot MINIX, turn off your PS/2 computer and insert the boot diskette.
  29.  
  30.  2. Turn on the computer and wait until the menu appears on the screen.
  31.  
  32.  3. Type one of the 3 characters:  u d =  depending on which keyboard you
  33.     have.  If you are not sure, try u first.
  34.  
  35.  4. MINIX will now be loaded.  When you are asked to type the date and time, 
  36.     enter 12 digits, for example Jan 23, 1989 at 4:17 pm is: 012389161700.
  37.  
  38.  5. When the "login: " message appears, type: root
  39.  
  40.  6. When "password: " appears, type: Geheim .  Note the capital "G".
  41.  
  42.  7. Type ls -l.  This will display the current directory.
  43.  
  44.  8. Check the hard disk by typing:  dd if=/dev/hd0 of=/dev/null count=100.
  45.     This should read 100 records and print a little message afterwards.  If
  46.     this works, you can proceed with installing MINIX on your hard disk.  If
  47.     it gives an error message, you can only use MINIX with diskettes.
  48.  
  49.  9. Choose a partition on your hard disk for MINIX.  If you intended to
  50.     install the MINIX sources, you will need at least 5MB.  Since partition
  51.     numbering is not standardized, type:
  52.     fdisk /dev/hd0
  53.     to see which partition is which.  Compute the size of your partition in
  54.     1K blocks (two 512 sectors form 1 block).  Partitions must begin at an even
  55.     sector and contain an even number of sectors.  If you have chosen partition
  56.     1, subtract one from the size (for the partition table).  For example, 
  57.     300 cylinders with 17 sectors and 4 heads per cylinder would be of size 
  58.     10200 blocks if it were partition 2 or more, and 10199 as partition 1.  
  59.     To create a minix file system, on, for example, partition 2, type:
  60.     mkfs /dev/hd2 10200
  61.     The special file /dev/hd2 must be replaced by /dev/hdN for partition N.
  62.     In the examples below we will assume you are using parition 2 (/dev/hd2).
  63.     Running mkfs will overwrite all information on that partition, so
  64.     be sure you have backed up anything important on it.
  65.  
  66. 10. To unmount the diskette and mount say, hard disk partition 2, type:
  67.     /etc/umount /dev/fd0
  68.     /etc/mount /dev/hd2 /usr
  69.     /etc/mount /dev/fd0 /user
  70.     Note that the first line is /etc/umount, not /etc/unmount.  At this
  71.     point, /usr is the hard disk and /user is the diskette.
  72.  
  73. 11. To install all the diskettes on the hard disk, type:
  74.     /user/install
  75.     Just follow the instructions on the screen.  First all the files from
  76.     Diskette 3 will be copied to the hard disk, then in turn, you will be
  77.     ask to insert the remaining diskettes one by one.
  78.  
  79. 12. When the /user/install shell script terminates, you may wish to edit the
  80.     /etc/rc file on the root file system diskette (#2), so it mounts the
  81.     hard disk partition instead of the floppy at boot time.  To do this, 
  82.     insert diskette 2 and type:
  83.     /etc/mount /dev/fd0 /user
  84.     ed /user/etc/rc
  85.     g/fd0/s//hd2/
  86.     w
  87.     q
  88.     /etc/umount /dev/fd0
  89.  
  90. 13. If you prefer loading the root file system from hard disk, instead of
  91.     having to insert the root file system floppy every time you boot, you 
  92.     should free up partition 3, then insert the root file system diskette (but
  93.     do not mount it).  Instead just type:
  94.     cp /dev/fd0 /dev/hd3
  95.     In this way, when the boot menu asks you to insert the root file system,
  96.     do not do it.  Just leave the boot diskette there when typing u, d, or =.
  97.  
  98. 14. When the installation is completed, you can use MINIX as described in
  99.     the book and in the file doc/USER_GUIDE.  Before logging out or rebooting
  100.     type:
  101.     sync
  102.     to avoid data loss.  If you accidentally forget, use the fsck program to
  103.     repair the damage to your data.  Logging out with CTRL-D also does a sync.
  104.  
  105. 15. PS/2 users with access to USENET, ARPANET, or BITNET, can send questions
  106.     about MINIX to the author by electronic mail at ast@cs.vu.nl.  There is
  107.     also a worldwide MINIX users group on USENET, named comp.os.minix.
  108.